projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3c30f
)
(free_widget_value_tree, merge_widget_value):
author
Karl Heuer
<kwzh@gnu.org>
Wed, 21 Feb 1996 20:54:46 +0000
(20:54 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 21 Feb 1996 20:54:46 +0000
(20:54 +0000)
Use XtFree for the toolkit_data.
lwlib/lwlib.c
patch
|
blob
|
history
diff --git
a/lwlib/lwlib.c
b/lwlib/lwlib.c
index a1e4ecc7304a0414712b236da756ad53c384fe55..6569b38da329ef4efb4ea89efaa38138f2fb500c 100644
(file)
--- a/
lwlib/lwlib.c
+++ b/
lwlib/lwlib.c
@@
-201,7
+201,7
@@
free_widget_value_tree (wv)
if (wv->toolkit_data && wv->free_toolkit_data)
{
-
f
ree (wv->toolkit_data);
+
XtF
ree (wv->toolkit_data);
wv->toolkit_data = (void *) 0xDEADBEEF;
}
@@
-553,7
+553,7
@@
merge_widget_value (val1, val2, level)
if (change > NO_CHANGE && val1->toolkit_data)
{
if (val1->free_toolkit_data)
-
f
ree (val1->toolkit_data);
+
XtF
ree (val1->toolkit_data);
val1->toolkit_data = NULL;
}